import 'vuetify/styles'
import '@mdi/font/css/materialdesignicons.css'
import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { createVuetify } from 'vuetify'

import Toast from 'vue-toastification'
import 'vue-toastification/dist/index.css'

import App from './App.vue'
import router from './router'
import './permission'
import components from './components'

const app = createApp(App)

const vuetify = createVuetify({})
app.use(vuetify)
app.use(Toast)
app.use(createPinia())
app.use(router)
app.use(components)

app.mount('#app')
